package edu.ccit.shudong.dto;

import edu.ccit.shudong.entity.Message;
import edu.ccit.shudong.entity.Post;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class PostProfileDTO {
    private Long id;
    private Long userId;


    public void fromUserId(Post post) {
        this.setUserId(post.getUserId());
    }


}
